package com.shop.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName goods_classify
 */
@TableName(value ="goods_classify")
@Data
public class Classify implements Serializable {
    /**
     * 分类id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 分类名称
     */
    @TableField(value = "classify_name")
    private String classifyName;

    /**
     * 分类图标
     */
    @TableField(value = "classify_logo")
    private String classifyLogo;

    /**
     * 排序值
     */
    @TableField(value = "seq")
    private Integer seq;

    /**
     * 状态（0启用 1停用）

     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 佣金
     */
    @TableField(value = "commission")
    private String commission;

    /**
     * 上级id
     */
    @TableField(value = "isuperior_id")
    private Integer isuperiorId;

    /**
     * 删除标识（0未删除 1已删除）

     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 
     */
    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}